﻿<%@ Page Language="vb"   AutoEventWireup="false" MasterPageFile="~/adm/Pagina.Master" CodeBehind="NivelLista.aspx.vb" Inherits="sonicERPinterface.NivelLista" 
    title="Lista Nivel de Usuario" %>
 
    
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
 </asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
      
    <div id="divcadastro">
     <div id="divgrid">
                
         <center><asp:label id="lbl1"  style="background-color:#ededed"  Text="Lista de Cadastro de Nivel de Usuario Do Sistema" runat="server" ></asp:label></center>
         <br />
         <asp:Panel ID="pnl1" runat="server" Height="51px" Visible="False"  BorderColor="Blue" BorderStyle="Solid"> 
             
             <asp:Image ID="img3" runat="server" Height="48px" ImageAlign="Baseline" 
                 ImageUrl="~/img/warning_blue.png" style="text-align: left" Width="61px" />
             &nbsp;<asp:Label ID="lblerro" 
         runat="server" ForeColor="Red" style="text-align: center"></asp:Label>
     </asp:Panel>
          <asp:ImageButton ID="ImageButton1" runat="server" 
           ImageUrl="~/img/comment_add.png" />
           <br />  
           <label style="color: #AAAAFF">
         &nbsp;&nbsp;
         New&nbsp; </label>
       &nbsp;<br />
&nbsp;<asp:gridview id="gvList" 
              allowpaging="True"
               DataKeyNames="id"
              onrowcommand="gvList_RowCommand"
              runat="server" CellPadding="4" ForeColor="#333333" GridLines="Vertical" 
           PageSize="6" Height="16px" style="margin-left: 5px" 
           AutoGenerateColumns="False" Width="600px">

              <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />

              <columns>
                <asp:buttonfield buttontype="Image" 
                  commandname="Editar" 
                  text="Editar" HeaderText="Editar" ImageUrl="~/img/comment_edit.png"/>
                             <asp:BoundField DataField="id" HeaderText="Codigo" 
                       Visible="False" />
                  <asp:BoundField DataField="Nivel" HeaderText="Nivel" />
                  <asp:BoundField DataField="dt_cadastro" HeaderText="Data do Cadastro" />
                             </columns>

              <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
              <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
              <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
              <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
              <EditRowStyle BackColor="#999999" />
              <AlternatingRowStyle BackColor="White" ForeColor="#284775" />

            </asp:gridview>


     <br />
     </div>
          
     
      
   <div id ="filtro">
   <center><asp:label id="Label1" style="background-color:#ededed" Text="Filtros" runat="server"></asp:label></center>
    <br />
       <label style="color: #AAAAFF">
         Data Inicio</label>
           <br />
    <asp:TextBox ID="txtdataininico"  onkeyup="formataData(this,event);"  runat="server" Width="98px" MaxLength="10"></asp:TextBox>
        <br />
    <label style="color: #AAAAFF">Data Fim </label>
        <br />
    <asp:TextBox ID="txtdatafim"  onkeyup="formataData(this,event);" runat="server" Width="98px" MaxLength="10"></asp:TextBox>
        <br />
     <label style="color: #AAAAFF">Nivel</label>
         <br />
    <asp:TextBox ID="txtnivel" runat="server" Width="94px"></asp:TextBox>
        <br />
          <br />
           <center>      <asp:ImageButton ID="btnok" runat="server" Height="47px" 
             ImageUrl="~/img/filtro.png"  Width="57px" style="margin-left: 1px" /> </center> 
                 <center><asp:Label ID="Label2" runat="server" Text="Filtrar" style="color: #AAAAFF"></asp:Label></center>
                      <br />
                       <center><asp:ImageButton ID="btnimprimir" ImageUrl="~/img/print.png"  runat="server" /></center>
                      <center><asp:Label ID="Label3" runat="server" Text="Imprimir" style="color: #AAAAFF"></asp:Label></center>
          </div> 
          </div>
                        
   </asp:Content>
  
